home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
net
/
amitcp2_x_gcc.lha
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-02-03
|
961b
|
42 lines
# Makefile for Sega Genesis CARTRIDGES
#
# Copyright 1993 by Atla Software
# All Rights Reserved
include /sega/genesis/AMIGA_MakeVars
SUBDIRS =
NETOBJS = errlst.o autoinit.o dummy.o lineread.o getopt.o gethostname.o \
printfault.o netsocket.o
SANA2OBJS = sana2perror.o sana2errlist.o sana2printfault.o
all: libamitcp2.a libsana2.a autoinitd.o serveraccept.o
libamitcp2.a: $(NETOBJS)
$(AR) ruv libamitcp2.a $(NETOBJS)
$(RANLIB) libamitcp2.a
libsana2.a: $(SANA2OBJS)
$(AR) ruv libsana2.a $(SANA2OBJS)
$(RANLIB) libsana2.a
testsubdirs:
@for i in $(SUBDIRS); do (cd $$i && echo cd $$i && $(MAKE) $(MFLAGS)) || exit; done
clean:
$(RM) $(RMFLAGS) *.o *~
for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) clean); done
dep:
$(CPP) -M $(INCFLAGS) *.c > .depend
for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) dep) || exit; done
#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif